package com.apts.mapper;

import com.apts.model.TBpe;
import com.apts.model.TbAdmin;
import com.apts.model.TbEnterprise;
import com.apts.model.TbProductType;
import com.apts.model.TbRealRoots;
import com.jfinal.plugin.activerecord.ActiveRecordPlugin;

/**
 * 数据库映射配置
 * 
 * @author lwh
 * @date 2016-03-15
 */
public final class DbMapperConfig {

	public static final void mapper(ActiveRecordPlugin arp) {
		arp.addMapping("tb_admin", TbAdmin.class);
		arp.addMapping("tb_enterprise", TbEnterprise.class);
		arp.addMapping("tb_product_type", TbProductType.class);
		arp.addMapping("tb_real_roots", TbRealRoots.class);
		arp.addMapping("pe", TBpe.class);
	}

}
